package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典类别表
 * @TableName dictionary_category
 */

@Schema(description = "字典类别信息")
@EqualsAndHashCode(callSuper = true)
@TableName(value ="dictionary_category")
@Data
public class DictionaryCategory extends BaseEntity implements Serializable {

    @Schema(description = "类别名称")
    private String categoryName;

    @Schema(description = "类别标题")
    private String categoryTitle;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public static String entityTitle="字典类别";

    public static Map<String,String> getExcelCols(){
        Map<String,String> map=new LinkedHashMap<>();
        map.put("categoryName","类别名");
        map.put("categoryTitle","类别标题");
        return map;
    }
}